package com.springcloud.regin.service;

import org.springframework.stereotype.Service;

/**
 * @Desc: Feign 声明式服务调用 熔断降级类
 * @Date: 2020-06-25
 * @Version:v1.0
 */
@Service
public class FeignFallbackService implements FeignService {
    @Override
    public String sayHello(String name) {
        return "hello, " + name + ", sorry, feign client error";
    }
}
